#define _CRT_SECURE_NO_WARNINGS
#include"RBTree.h"
int main()
{
	////int a[] = { 16, 3, 7, 11, 9, 26, 18, 14, 15 };
	//int a[] = { 4, 2, 6, 1, 3, 5, 15, 7, 16, 14,16, 3, 7, 11, 9, 26, 18, 14, 15 };
	//BRTree<int> B;
	//for (auto e : a)
	//{
	//	B.Insert(e);
	//	B.IsValidRBTree();
	//}
	//B.InOrde();
	//cout<<B.IsValidRBTree();
	text3();
	return 0;
}